package com.jumi.microservice;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 库存系统启动类
 * @author admin
 *
 */
@SpringBootApplication
@ServletComponentScan
@EnableDiscoveryClient
@MapperScan("com.jumi.microservice.mapper")
@EnableFeignClients
public class InventoryApplication {

	public static void main(String[] args) { 
		SpringApplication.run(InventoryApplication.class, args);
	}
	
}
